Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

429
Visualizações
Error: error:0308010C:digital envelope routines::unsupported [ANGULAR]

I was trying to build my project on jenkins. The local build is successful but Jenkins build is failing. Any fix for this? I am using primeng module to implement p-organisationchart. I suspect that could be the issue.

versions I am using are:

`"primeicons": "^4.1.0",
 "primeng": "^11.3.0",
 "node" : 14.16.0`

I am working on Angular 8

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

This is a webpack issue. As a workaround you can add an environment variable to your build task:

export NODE_OPTIONS=--openssl-legacy-provider

See this issue in the webpack project.

You can add the environment variable to your package.json scripts part

{
  "scripts": {
    "build": "export NODE_OPTIONS=--openssl-legacy-provider; ng build"
  }
}

If you are using docker you can add the environment variable to your Docker file before the build

ENV NODE_OPTIONS=--openssl-legacy-provider

I am not familiar with jenkins. If you use bash-like scripts there to build your application you can also add the line to that script.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda